//
//  RHomeListCell.m
//  EPAa
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 李日青. All rights reserved.
//

#import "RHomeListCell.h"
#import "RHomeListModel.h"
#import "UIImageView+WebCache.h"
@interface RHomeListCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *titleImageView;
@property (weak, nonatomic) IBOutlet UILabel *contentlabel;


@end
@implementation RHomeListCell



- (void)layoutSubviews {
    self.titleLabel.text = self.model.title;
    self.contentlabel.text = self.model.content;
    [self.titleImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
